<?php

namespace application\webapp\config;

class MainConfig {

    public static function getDb() {
        return array(
            "connectString" => "mysql:host=localhost;dbname=wap14info",
            "username" => "root",
            "password" => "",
            'charset' => 'utf8',
        );
    }

    public static function index() {
        return array(
            'cp' => array(
                'mod' => 'index',
                'action' => 'grid',
            ),
            'web' => array(
                'mod' => 'index',
                'action' => 'home',
            ),
        );
    }

}
